
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.CureTaskMedicine;

import java.math.BigDecimal;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage CureTaskMedicine entities.
 * 
 */
public interface CureTaskMedicineDAO extends JpaDao<CureTaskMedicine> {

	/**
	 * JPQL Query - findCureTaskMedicineByMemoContaining
	 *
	 */
	public Set<CureTaskMedicine> findCureTaskMedicineByMemoContaining(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMedicineByMemoContaining
	 *
	 */
	public Set<CureTaskMedicine> findCureTaskMedicineByMemoContaining(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMedicineById
	 *
	 */
	public CureTaskMedicine findCureTaskMedicineById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMedicineById
	 *
	 */
	public CureTaskMedicine findCureTaskMedicineById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMedicineByPrimaryKey
	 *
	 */
	public CureTaskMedicine findCureTaskMedicineByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMedicineByPrimaryKey
	 *
	 */
	public CureTaskMedicine findCureTaskMedicineByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMedicineByQuantity
	 *
	 */
	public Set<CureTaskMedicine> findCureTaskMedicineByQuantity(java.math.BigDecimal quantity) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMedicineByQuantity
	 *
	 */
	public Set<CureTaskMedicine> findCureTaskMedicineByQuantity(BigDecimal quantity, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllCureTaskMedicines
	 *
	 */
	public Set<CureTaskMedicine> findAllCureTaskMedicines() throws DataAccessException;

	/**
	 * JPQL Query - findAllCureTaskMedicines
	 *
	 */
	public Set<CureTaskMedicine> findAllCureTaskMedicines(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMedicineByMemo
	 *
	 */
	public Set<CureTaskMedicine> findCureTaskMedicineByMemo(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskMedicineByMemo
	 *
	 */
	public Set<CureTaskMedicine> findCureTaskMedicineByMemo(String memo_1, int startResult, int maxRows) throws DataAccessException;

}